package com.ocom.common.entity.aiot;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "role_rights")
public class EntityRoleRights extends EntityBase implements Serializable {

  private static final long serialVersionUID = -4650262955479206401L;
  @TableId(value = "id", type = IdType.AUTO)
  private long id;
  private long roleId;
  private long rightId;


}
